package com.ff.xyh.feign.client.userfront;

import com.ff.xyh.common.entity.userfront.UserRestricted;
import com.ff.xyh.common.entity.result.ResultObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Auther FF
 * @Date 2022年 11月 15日
 * @Time 18:06
 */

@FeignClient(value = "service-user-front", contextId = "UserRestrictedClient")
@RequestMapping("/front-user")
public interface UserRestrictedClient {

    /**
     * 用户封号
     */
    @RequestMapping("user-restrict")
    ResultObject userRestrict(UserRestricted userRestricted);
    @RequestMapping("user-restrict-delete")
    ResultObject userRestrictDelete(UserRestricted userRestricted);

}
